object ForExercise{
  def main(args: Array[String]): Unit = {
    val start =1
    val end = 100
    var count = 0
    var sum = 0
    for (i <- start to end) {
      if (i % 9 == 0) {
        count += 1
        sum += 1
      }
    }
    print("count=%d, sum=%d\n",count,sum)
    val num = 6
    for (i <- 0 to num ) {
      printf("%d + %d = %d\n",i,(num - i), num)
    }
    var list = List(1,2)
  }
}
